#include "shop2.h"
#include "mainpage.h"
#include "zhifu2.h"
#include "ui_shop2.h"

shop2::shop2(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::shop2)
{
    ui->setupUi(this);
    QPixmap *pix = new QPixmap(":/shopphoto/shop3.jpg");
    QSize sz = ui->label_image->size();
    ui->label_image->setPixmap(pix->scaled(sz));
}

shop2::~shop2()
{
    delete ui;
}

void shop2::on_pushButton_clicked()
{
    mainpage *w =new mainpage;
    w -> show();
    this -> close();
}

void shop2::on_pushButton_2_clicked()
{
    zhifu2 *w = new zhifu2;
    w ->show();
    this -> close();
}

void shop2::on_pushButton_3_clicked()
{
    QMessageBox::information(this,"提示","功能尚在开发中，敬请期待！");
}
